package pattern13.basketball;

/**
 * @author wdl
 */
public class ForeignCenter {
    private String name;
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public void 进攻(){
        System.out.println("外籍中锋"+name+"进攻");
    }

    public void 防御(){
        System.out.println("外籍中锋"+name+"防御");
    }
}
